import Home from "../../views/home/index.vue";
import Router from "../../views/router.vue"
import analyse from '../../views/analyse'


let wangge = {
    path: "/wangge",
    redirect: "/wangge/guanlijigou",
    component: Home,
    icon: "bianji",
    name: "网格",
    meta: {
        authRule: ["basic_manage"]
    },
    // noDropdown: true,
    children: [
        {
            path: "/wangge/guanlijigou",
            component: Router,
            redirect: "/wangge/guanlijigou/liebiao",
            name: "管理机构",
            icon: "changjingguanli",
            meta: {
                authRule: ["basic_manage/event_manage"]
            },
            children: [
                {
                    path: "liebiao",
                    component: analyse,
                    name: "列表",
                    icon: "0",
                    meta: {
                        authRule: ["admin/auth.admin/index"]
                    }
                }
            ]
        },
        {
            path: "/wangge/wanggeguanli",
            component: Router,
            redirect: "/wangge/wanggeguanli/liebiao",
            name: "网格管理",
            icon: "changjingguanli",
            meta: {
                authRule: ["basic_manage/event_manage"]
            },
            children: [
                {
                    path: "liebiao",
                    component: analyse,
                    name: "列表",
                    icon: "0",
                    meta: {
                        authRule: ["admin/auth.admin/index"]
                    }
                }
            ]
        },
        {
            path: "/wangge/shouquanguanli",
            component: Router,
            redirect: "/wangge/shouquanguanli/liebiao",
            name: "授权管理",
            icon: "changjingguanli",
            meta: {
                authRule: ["basic_manage/event_manage"]
            },
            children: [
                {
                    path: "liebiao",
                    component: analyse,
                    name: "列表",
                    icon: "0",
                    meta: {
                        authRule: ["admin/auth.admin/index"]
                    }
                }
            ]
        },
    ]
}

export default wangge